import React, {Component} from 'react';
import {Button} from 'antd';

class ActionDiv extends Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <span>
                <Button style={{marginRight: '20px', marginLeft: '20px'}} onClick={this.props.refresh}>搜素</Button>
                <Button style={{marginRight: '20px'}} onClick={this.props.goAddModal}>新增</Button>
                <Button style={{marginRight: '20px'}} onClick={this.props.deleteInfo}>删除</Button>
            </span>
        );
    }
}

export default ActionDiv